package com.techfengs.test06;

public class Test2 {
	public static void main (String[] args) {
		// 创建一个Person类的对象
		Person p = new Person();
		p.age = 18;
		p.name = "丽丽";		
		p.height = 180.5;
		System.out.println(p.name);
		System.out.println(p.age);
		System.out.println(p.height);
		
		Person p2 = new Person("皮皮", 9, 145);
		System.out.println(p2.name);
		System.out.println(p2.age);
		System.out.println(p2.height);
		
	}
}
